<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:if test="${path==null}">
	<a href="admin/HhcommonDataFileMng.do">查看文件</a>
</c:if>

<c:if test="${path!=null}">
						上级目录：<br />
	<a style="color: blue; cursor: pointer;"
		onclick="submitPath('${parent}')">${parent}</a>
	<br />
	<hr />
						当前<c:if test="${diris}">目录</c:if>
	<c:if test="${!diris}">文件</c:if>：<br />${path}<br />
	<c:if test="${diris}">
		<hr />
							包含文件:<br />
		<c:forEach items="${files}" var="node">
			<span style="margin: 4px;"><a
				style="color: blue; cursor: pointer;"
				onclick="submitPath('${path}/${node}')">${node}</a> </span>
		</c:forEach>
	</c:if>
	<c:if test="${!diris}"> 
						大小:${len}b
						<a style="color: blue; cursor: pointer;"
			onclick="submitDownload('${path}')">下载该文件</a>
	</c:if>
</c:if>
<script type="text/javascript">
	function submitPath(path) {
		loadFiles(path);
	}
	function submitDownload(path) {
		$('#downloadpath').val(path);
		$('#downloadForm').submit();
	}
</script>